package com.jiazhong.springmvc.test02;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @Auther:shuXin
 */
@Controller
@RequestMapping("param")
public class MvcController {
    @RequestMapping(value = "value")
    public String getInfo(String name, Integer age) {
        System.out.println(name + " " + age);
        return name + " " + age;
    }
}
